Adding simple geometric figures to image